﻿namespace LDM.Framework.Application;

/// <summary>
/// 应用程序配置类
/// </summary>
public class AppSettings
{
    /// <summary>
    /// 连接字符串
    /// </summary>
    public ConnectionString ConnectionStrings { get; set; } = new ConnectionString();

    /// <summary>
    /// 是否启用 Swagger
    /// </summary>
    public bool EnableSwagger { get; set; }
}

/// <summary>
/// 连接字段串类
/// </summary>
public class ConnectionString : Dictionary<string, string>
{
    /// <summary>
    /// 默认名称
    /// </summary>
    public string Default { get; set; } = "Default";


}
